#ifndef YJLABEL_H
#include <YLabel.h>
#include "binder.h"

class YJLabel: public YLabel{
public:
	YJLabel( int parrentId, YWidget *           parent,
            const string &      text,
            bool                isHeading = false,
            bool                isOutputField = false);
	int preferredWidth();
	int preferredHeight();
	void setSize( int newWidth, int newHeight );

	static yjlabel_constructor_callback constructor_callback;
	static simple_callback_int_return preffered_width;
	static simple_callback_int_return preffered_height;
	static yjlabel_set_size_callback set_size;

	void test();
private:
	int classId;
};

#endif
